<?php
//设置回调函数，确保重新构建对象
ini_set('unserialize_callback_func','mycallback');
function mycallback($classname){
	$classname.".php";
}
session_start();
$person = $_SESSION["person"];
$person->output();